go/printer.printer.lastTok (field)
10 uses
go/printer (current package)
printer.go#L65: lastTok token.Token // last token printed (token.ILLEGAL if it's whitespace)
printer.go#L889: switch p.lastTok {
printer.go#L893: p.prevOpen = p.lastTok
printer.go#L929: p.lastTok = token.ILLEGAL
printer.go#L935: p.lastTok = token.IDENT
printer.go#L941: p.lastTok = x.Kind
printer.go#L945: if mayCombine(p.lastTok, s[0]) {
printer.go#L965: p.lastTok = x
printer.go#L978: p.lastTok = token.STRING
printer.go#L987: wroteNewline, droppedFF := p.flush(next, p.lastTok)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)